package com.dmgis.qxfw.dataservice.businessservice.common.util;

import java.io.Serializable;
import java.util.Date;

public class WeiXinUser implements Serializable {

    private static final long serialVersionUID = 7788003418925328490L;
    /**
     * 全局凭证唯一Id
     */
    private String openId;
    /**
     * 关联的系统用户id
     */
    private String userName;
    /**
     * 系统用户类型0：行业用户 1：农业大户人员
     */
    private String userType;

    /**
     * 公众号Id
     */
    private String publicId;
    /**
     * 用户分组id
     */
    private String groupId;
    /**
     * 昵称
     */
    private String nickName;

    /**
     * 性别 1是男 0是女
     */
    private int sex;

    /**
     * 是否关注 1是关注
     */
    private int subscribe;
    /**
     * 国家
     */
    private String country;

    /**
     * 地区
     */
    private String province;
    /**
     * 城市
     */
    private String city;
    /**
     * 关注时间
     */
    private Date createDate;
    /**
     * 用户头像
     */
    private String headimgUrl;
    /**
     * 第三方平台Id，可为空
     */
    private String unionId;
    /**
     * 用户取消关注时间
     */
    private Date unSubscribeTime;

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserType() {
        return userType;
    }

    public void setUserType(String userType) {
        this.userType = userType;
    }

    public String getPublicId() {
        return publicId;
    }

    public void setPublicId(String publicId) {
        this.publicId = publicId;
    }

    public String getGroupId() {
        return groupId;
    }

    public void setGroupId(String groupId) {
        this.groupId = groupId;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public int getSex() {
        return sex;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }

    public int getSubscribe() {
        return subscribe;
    }

    public void setSubscribe(int subscribe) {
        this.subscribe = subscribe;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getHeadimgUrl() {
        return headimgUrl;
    }

    public void setHeadimgUrl(String headimgUrl) {
        this.headimgUrl = headimgUrl;
    }

    public String getUnionId() {
        return unionId;
    }

    public void setUnionId(String unionId) {
        this.unionId = unionId;
    }

    public Date getUnSubscribeTime() {
        return unSubscribeTime;
    }

    public void setUnSubscribeTime(Date unSubscribeTime) {
        this.unSubscribeTime = unSubscribeTime;
    }

}
